<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<html>
<head>
<title>EPrice ~ Listado de Clientes Criticos</title>
<link href="css/estilos.css" rel="stylesheet" type="text/css">
</head>
<script type="" language="javascript">
  function eliminarCliente(){
      if( confirm("Desea eliminar este registro ") )
        return true;
      else
        return false;
  }
</script>


<body bgcolor="#ffffff">
  <table width="100%"cellpadding="0" cellspacing="0" height="100%" align="center">
    <tr>
      <td height="52"><tiles:insert page="tiles/header.jsp"/></td>
    </tr>
    <tr>
      <td height="30"><tiles:insert page="tiles/menu.jsp"/></td>
    </tr>
    <tr>
      <td valign="top" class="">
	  <br>
	  	<table class="tabla" width="85%" border="0" align="center" cellpadding="0" cellspacing="1" >
        	<tr>
			  <td colspan="4" width="85%" valign="top">
				  <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
					  <tr class="encabezadoTabla">

           				<td width="40%" height="18" align="right" valign="middle" class="encabezadoTabla font_general"><img src="images/img_loginFlecha.gif" width="17" height="23" alt=" "></td>
              			<td width="60%" height="18" align="left" valign="middle" class="encabezadoTabla font_general"><strong>&nbsp;&nbsp;Listado Cliente Critico</strong></td>
					</tr>
				</table>
	  		  </td>
        	</tr>
        	<tr>
				<td width="25" height="18" align="center" valign="middle" class="encabezado_col font_general"><a href="javascript:var win=open('<html:rewrite page="/clientecAction.do?action=listadoCli" />', 'Editar','width=550,status=YES,height=250,scrollbars=YES')"><img src="images/img_agregar.gif" width="15" height="15" border="0" alt="Nuevo Cliente Critico..."/></a></td>
				<td align="center" height="20" class="encabezado_colFiltro font_general">Codigo<img src="images/img_flechaAbajo.gif"  border="0" alt=""></a></td>
				<td align="center" class="encabezado_col font_general">Descripcion</td>
				<td align="center" class="encabezado_col font_general">Eliminar</td>
						</tr>
						<logic:notEmpty name="arr_cliente">
							<logic:iterate id="cliente" name="arr_cliente">
								<bean:define id="bool_row" name="cliente" property="bool_fila"></bean:define>
								<tr>
									<td width="25" align="center" class="<logic:equal name="bool_row" value="true">im</logic:equal>par font_general"></td>
									<td align="center" class="<logic:equal name="bool_row" value="true">im</logic:equal>par font_general">
										<bean:write name="cliente" property="str_codigoCliC"/></td>
									<td align="left" class="<logic:equal name="bool_row" value="true">im</logic:equal>par font_general">&nbsp;&nbsp;
										<bean:write name="cliente" property="str_cliCritico"/></td>
									<td align="center" valign="middle" class="<logic:equal name="bool_row" value="true">im</logic:equal>par font_general"><a href="javascript:var win=open('<html:rewrite name="cliente" property="map_param" page="/clientecAction.do"/>','Editar','width=30,status=YES,height=30,scrollbars=YES')" onclick="return eliminarCliente();"><img src="images/img_borrar.gif" width="15" height="15"  border="0" alt="Eliminar Cliente Critico"></a></td>
								</tr>
							</logic:iterate>
						</logic:notEmpty>
		</table>
        <br>
        <logic:present name="arr_cliente"></logic:present>
	</td>
</tr>
<tr>
	<td height="39"><tiles:insert page="tiles/footer.jsp"/></td>
</tr>
</table>
</body>
</html>
